ISlave.VoeWrite 方法

透過 VoE (Vendor-specific protocol over EtherCAT) 將資料寫入具有 VoE 功能的裝置。

命名空間IntervalZero.KINGSTAR.Base.Class

組合: IntervalZero.KINGSTAR.Base.Class (於 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0

語法

C#VB
IKsCommand VoeWrite(
       ulong vendorId,
       ushort vendorType,
       byte[] data
)
Function SoeWriteSsc(
       vendorId As ULong,
       vendorType As UShort,
       data As Byte()
) As IKsCommand

參數

vendorId

型別:ulong

供應商 ID。

 

vendorType

型別:ushort

供應商類型。

 

data

型別:byte[]

欲寫入的資料。

回傳值

型別:IKsCommand

回傳一個方法的狀態。

可用的 EtherCAT 狀態

ecatPreOp, ecatSafeOp, ecatOp

參見

ISlave 介面

IntervalZero.KINGSTAR.Base.Class 命名空間